package com.travel.photos.config;
/**
 * 用于配置网络连接地址以及参数名称
 */
public class UrlConfig {
    /**
     * 用于写最基础的url，主要是用于生产环境和开发环境替换
     */
    public static final String BASE_URL = "http://service.youpu.cn/";
    /**
     * 该类用于存储url的后半部分
     */
    public static class Path {
        public static final String PHOTO_FIND = "shinerecommend/getPicList";
        public static final String PHOTO_RE = "shinerecommend/getIndexUsers";
        public static final String PHOTO_TRAVEL = "shine/topicList";
        public static final String PHOTO_SearchUser = "shine/searchUser";
        public static final String PHOTO_SearchTRAVEL = "shinetopic/searchTopic";
        public static final String PHOTO_SearchPERPOSE = "shine/searchPlaceOrPoi";
        public static final String PHOTO_GETLISTUSERS = "shinerecommend/getListUsers";
        public static final String PHOTO_USERPICLIST = "shineuser/getUserPicList";

    }
    /**
     * 该类用于存储url的参数的键
     */
    public static class Params {
        public static final String PARAMTRPE = "paramType";
        public static final String ISRECOMMEND = "isRecommend";
        public static final String PACKAGE = "package";
        public static final String PICID = "picId";
        public static final String PAGE = "page";
        public static final String CONDITION = "condition";
        public static final String USERID = "userId";
    }
    /**
     * 该类用于存储一些默认值
     */
    public static class DefaultVaule {
        public static final String PARAMTRPE = "get";
        public static final String ISRECOMMEND = "1";
        public static final String PACKAGE = "a2";
        public static final String PICID = "0";
        public static final String PAGE = "1";
        public static final String CONDITION = "";
        public static final String USERID = "";

    }

}
